package fleet_management

import java.sql.Time

class FuelConsumption {
	String vehicleNumber
	Long quantityRefuled
	String place
	Date date
	Long totalCost
	Long reFuledOnKM
	String driverName
	String adminRole

    static constraints = {
		vehicleNumber(blank:false,nullable:false)
		quantityRefuled(blank:false,nullable:false)
		place(blank:false,nullable:false)
		date(blank:false,nullable:false)
		totalCost(blank:false,nullable:false)
		reFuledOnKM(blank:false,nullable:false)
		driverName(blank:false,nullable:false)
		
		
    }
	String toString(){
		return "$vehicleNumber"
		}
}
